<%@page import="com.meila.cms.util.config.Property"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"  %> 
<%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
 <%
 
 String path = request.getContextPath();
 String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>

    <script type="text/javascript">
        var FILESERVER_PATH = '<%=Property.getProperty("FILESERVER_PATH") %>';
		var FILESERVER_PATH_DOWN = '<%=Property.getProperty("FILESERVER_PATH_DOWN") %>';
		var FILESERVER_UPLOAD_PATH = '<%=Property.getProperty("FILESERVER_UPLOAD_PATH") %>';
		var FILESERVER_ID = '<%=Property.getProperty("FILESERVER_ID") %>';
        var CONTEXT_PATH = '<%=basePath %>';
    </script>

         <base href="<%=basePath%>">
